import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import './plugins/vant.js'
import Vant from "vant"
import 'vant/lib/index.css';
import * as http from '@/api'
import { Lazyload } from 'vant';

Vue.prototype.$http=http
Vue.config.productionTip = false;

Vue.use(Lazyload);
Vue.use(Vant)
// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
});

Vue.use(Vant);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");

